package com.hxd.otc.module.wallet.contract;

import com.hxd.otc.module.wallet.bean.WalletCurrencyBean;
import com.hxd.otc.mvp.base.IBasePresenter;
import com.hxd.otc.mvp.base.IBaseView;

import java.util.List;

/**
 * Created by lzy on 2018/9/21 0021.
 * description ${钱包币种Contract}
 */
public interface OtcAssestContract {
    interface IView extends IBaseView {

        /**
         * 设置适配器
         */
        void onSetAdapter(List<WalletCurrencyBean> list);

        /**
         * 加载完毕
         */
        void onShowNoMore();
    }

    interface IPresenter extends IBasePresenter {
        List<WalletCurrencyBean> getOtcWalletInfoBeans();

        List<WalletCurrencyBean> getNorWalletInfoBeans();

        /**
         * 请求数据
         */
        void doLoadData(boolean isRefresh, int... category);

        /**
         * 设置适配器
         */
        void doSetAdapter(List<WalletCurrencyBean> list);

        /**
         * 加载完毕
         */
        void doShowNoMore();
    }
}
